pp108 : onafterrowinsert Event

onafterrowinsert Event


This event is fired when a row is inserted into the table, as a result of a cut or a copy operation.

Syntax

Inline HTML

<TABLE id=tableID class="grid" onafterrowinsert="handler()"...>

Event property

tableID.onafterrowinsert = handler


Event Information

To invoke

Select the Cut or Copy option from the shortcut menu and select Insert on any other row in the grid.

Default Action

Inserts the row in the specified position and initiates any action associated with this event.


Event Object Properties


Although event handlers in the DHTML Object Model do not receive parameters directly, a handler can query an event object for data.

Property

Description

anchorRow

Read-only. Object that denotes the row before which the cut / copied row is inserted.

isCut

Read-only. Boolean that denotes the type of operation.

  • true - Row is cut from the old position.
  • false - Row is copied from the old position.

insertedRow

Read-only. Object that contains a row that was inserted.


See Also


grid